import request from '@/utils/request'

// 查询店铺信息 列表
export function listEbbasic(query) {
  return request({
    url: '/pet/ebbasic/list',
    method: 'get',
    params: query
  })
}

// 查询店铺信息 详细
export function getEbbasic(id) {
  return request({
    url: '/pet/ebbasic/' + id,
    method: 'get'
  })
}

// 新增店铺信息 
export function addEbbasic(data) {
  return request({
    url: '/pet/ebbasic',
    method: 'post',
    data: data
  })
}

// 修改店铺信息 
export function updateEbbasic(data) {
  return request({
    url: '/pet/ebbasic',
    method: 'put',
    data: data
  })
}

// 删除店铺信息 
export function delEbbasic(id) {
  return request({
    url: '/pet/ebbasic/' + id,
    method: 'delete'
  })
}
// 获取省市 
export function getCity(data) {
  return request({
    url: '/pet/ebcity/tree',
    method: 'get',
    params: data
  })
}
// 宠支付-提交
export function subPay(data) {
  return request({
    url: '/pet/shop ',
    method: 'post',
    data: data
  })
}